﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PriorityQueue
{
    class TestPriorityQueue
    {
        static void Main(string[] args)
        {
            PriorityQueue<string> queue = new PriorityQueue<string>();
            queue.Enqueue("buc");
            queue.Enqueue("asd");
            queue.Dequeue();          
            foreach (var item in queue)
            {
                Console.WriteLine(item);
            }
            Console.WriteLine(queue[1]);
        }
    }
}
